home *** CD-ROM | disk | FTP | other *** search
/ Programmer Power Tools / Programmer Power Tools.iso / progjrn / pj_7_2.arc / WINDEV2.ARC / WINAUX.H < prev    next >
Text File  |  1988-12-04  |  1KB  |  51 lines

  1. /* 
  2.  * Winaux header file
  3.  *
  4.  * Written by Bill Hall
  5.  * 3665  Benton Street, #66
  6.  * Santa Clara, CA 95051
  7.  *
  8.  */
  9.  
  10. /*
  11.    This little trick insures that the external variables are delcared
  12.    in only one place, namely in the file where EXTERN is defined.
  13. */
  14. #ifndef EXTERN
  15. #define EXTERN extern
  16. #endif
  17.  
  18. /* functions declarations which are shared among modules */
  19. BOOL FAR InitProgram(HANDLE,HANDLE,LPSTR,int);
  20. LONG FAR PASCAL MainWndProc(HWND,unsigned,WORD,LONG);
  21. BOOL FAR PASCAL AboutBoxProc(HWND,unsigned,WORD,LONG);
  22. void WndCreate(HWND, LONG);
  23. void NEAR MainWndPaint(HWND, LPPAINTSTRUCT);
  24. int SetWinIni(HWND hWnd);
  25. void NEAR AdjustHeight(short width, short height);
  26. void NEAR WndCommand(HWND hWnd, WORD wParam);
  27. void NEAR DispatchString(HWND hWnd, WORD wParam, LONG lParam);
  28.  
  29. /* dialog box manifest */
  30. #define DT_ABOUT    1
  31.  
  32. /* string manifests */
  33. #define IDS_APPNAME    100
  34. #define IDS_WINTITLE    102
  35. #define IDS_ICONSTRING    103
  36. #define IDS_HWND    104
  37. #define IDS_X        105
  38. #define IDS_Y        106
  39. #define IDS_CX        107
  40. #define IDS_CY        108
  41.  
  42. /* menu items */
  43. #define IDM_ABOUT    200
  44. #define IDM_CRONLF    201
  45.  
  46. /* global variables */
  47. EXTERN struct TTYWND MWnd;
  48. EXTERN char szAppName[10];
  49. EXTERN char szIconTitle[5];
  50. EXTERN char szhWnd[5];
  51.